@echo off
rem this will create a ZIP file consisting of the Powershell cmdlets and a readme.txt
rem The zip file will be created in the bin\Release folder
rem ---------------------------------------------------------------------------
set binfolder=PowerShellCmdlets\bin\Release
set packagefile=package.zip
rem ---------------------------------------------------------------------------
echo changing path to %binfolder%
pushd %binfolder%
cd
echo Deleting file %packagefile%
if exist %packagefile% del %packagefile%
echo Execution 7z.exe
..\..\..\Utilities\7ZIP\7Z.exe a -tzip %packagefile%  SPWebShell.dll LaunchPS.bat Readme.txt
echo Package file %packagefile% was created
dir  %packagefile%
popd
pause

